﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{
    /// <summary>
    /// 支付实体
    /// </summary>
    [SqlSugar.SugarTable("corecmssystemsetup")]
    public partial class corecmssystemsetup
    {
        /// <summary>
        /// 门店Id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
        public System.Int32 id { get; set; } = 1;

        /// <summary>
        /// 门店Id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "storeId")]
        public long storeId { get; set; }

        /// <summary>
        /// 快餐牌号方式
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "orderNumberType")]
        public System.Int32 orderNumberType { get; set; } = 0;

        /// <summary>
        /// 多台电脑同时点菜
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isMoreSite")]
        public System.Boolean isMoreSite { get; set; } = false;

        /// <summary>
        /// 是否显示商品图片
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "showFoodImg")]
        public System.Boolean showFoodImg { get; set; } = false;

        /// <summary>
        /// 整单手动打折
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isDiscountAll")]
        public System.Boolean isDiscountAll { get; set; } = true;

        /// <summary>
        /// 单号编码规则1
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "billNumberFirst")]
        public System.Int32 billNumberFirst { get; set; } = 4;

        /// <summary>
        /// 单号编号结尾
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "billNumberLast")]
        public System.Int32 billNumberLast { get; set; } = 3;

        /// <summary>
        /// 单号生成方式
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "billNumberTime")]
        public System.Int32 billNumberTime { get; set; } = 0;

        /// <summary>
        /// 单行金额位数
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "rowAmountDecimal")]
        public System.Int32 rowAmountDecimal { get; set; } = 3;

        /// <summary>
        /// 合计金额位数
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "sumAmountDecimal")]
        public System.Int32 sumAmountDecimal { get; set; } = 6;

        /// <summary>
        /// 移动支付类型
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "mobilePayType")]
        public System.Int32 mobilePayType { get; set; } = 0;

        /// <summary>
        /// 原路退款延时时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "refundPayTime")]
        public System.Int32 refundPayTime { get; set; } = 0;

        /// <summary>
        /// 随行付商户编号
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "sxfMno")]
        public string sxfMno { get; set; } = "";

        /// <summary>
        /// 随行付终端编号
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "sxfDeviceNo")]
        public string sxfDeviceNo { get; set; } = "";

        /// <summary>
        /// 随行付门店编号
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "sxfStoreNum")]
        public string sxfStoreNum { get; set; } = "";

        /// <summary>
        /// 后台API接口URL
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "adminApiUrl")]
        public string adminApiUrl { get; set; } = "http://adminapi.pos08.com";

        /// <summary>
        /// 信息平台URL
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "corehubUrl")]
        public string corehubUrl { get; set; } = "http://corehub.posyun3721.com";

        /// <summary>
        /// 会员储值支付提示
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "memberPayTip")]
        public System.Int32 memberPayTip { get; set; } = 0;

        /// <summary>
        /// 优惠券使用方式
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "couponUsage")]
        public System.Int32 couponUsage { get; set; } = 0;

        /// <summary>
        /// 下载间隔时间（秒）
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "downBaseTimes")]
        public System.Int32 downBaseTimes { get; set; } = 360;

        /// <summary>
        /// 检测间隔时间（秒）
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "checkTimes")]
        public System.Int32 checkTimes { get; set; } = 60;

        /// <summary>
        /// 上传间隔时间（秒）
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "uploadTimes")]
        public System.Int32 uploadTimes { get; set; } = 720;

        /// <summary>
        /// 前台版本号
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "posVersion")]
        public System.Int32 posVersion { get; set; } = 5;

        /// <summary>
        /// 厨打数据保留天数
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "printTaskDays")]
        public System.Int32 printTaskDays { get; set; } = 1;

        /// <summary>
        /// 点餐模式
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "orderingMode")]
        public System.Int32 orderingMode { get; set; } = 0;

        /// <summary>
        /// 常用折扣1
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "discount1")]
        public System.Decimal discount1 { get; set; } = 80;

        /// <summary>
        /// 常用折扣2
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "discount2")]
        public System.Decimal discount2 { get; set; } = 88;

        /// <summary>
        /// 常用折扣3
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "discount3")]
        public System.Decimal discount3 { get; set; } = 95;

        /// <summary>
        /// 常用折扣4
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "discount4")]
        public System.Decimal discount4 { get; set; } = 98;

        /// <summary>
        /// 1.点餐内容+轮播图，2.点餐内容+所点的商品图片
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "orderSetType")]
        public System.Int32 orderSetType { get; set; } = 1;

        /// <summary>
        /// 轮播图地址
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "carouselUrl")]
        public System.String carouselUrl { get; set; }

        /// <summary>
        /// 常用商品规格
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "specName1")]
        public string specName1 { get; set; } = "";
        /// <summary>
        /// 常用商品规格
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "specName2")]
        public string specName2 { get; set; } = "";
        /// <summary>
        /// 常用商品规格
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "specName3")]
        public string specName3 { get; set; } = "";

        /// <summary>
        /// 是否厨房打印
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isKitchen")]
        public System.Boolean isKitchen { get; set; } = true;
        /// <summary>
        /// 是否开启自定义键盘
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "showKeyboard")]
        public System.Boolean showKeyboard { get; set; } = false;

        /// <summary>
        /// 最大交班时间（小时）
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "classOffTime")]
        public System.Int32 classOffTime { get; set; } = 0;

        /// <summary>
        /// 语音播报方式
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "speechPayInfo")]
        public System.Int32 speechPayInfo { get; set; } = 0;

        /// <summary>
        /// 语音播报语速
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "speechRate")]
        public System.Int32 speechRate { get; set; } = 1;

        /// <summary>
        /// 订单语音播报方式
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "orderPlaySound")]
        public System.Int32 orderPlaySound { get; set; } = 0;

        /// <summary>
        /// 撞
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "tiktokShopID")]
        public System.String tiktokShopID { get; set; }

        /// <summary>
        /// 是否启动区域打印
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isRegionPrint")]
        public System.Boolean isRegionPrint { get; set; } = false;


        /// <summary>
        /// 电子秤类型
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "weighingCodeType")]
        public System.Int32 weighingCodeType { get; set; } = 0;

        /// <summary>
        /// 秤识别码
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "weighingCodeSign")]
        public string weighingCodeSign { get; set; } = "";

        /// <summary>
        /// AI类型
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "aiType")]
        public System.Int32 aiType { get; set; } = 0;

        /// <summary>
        /// 识别起重重量
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "starWeight")]
        public System.Int32 starWeight { get; set; } = 5;

        /// <summary>
        /// 相同商品是否合并
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "mergeOrderItem")]
        public System.Boolean mergeOrderItem { get; set; } = false;

        /// <summary>
        /// 参数扩展
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "paraPartial")]
        public string paraPartial { get; set; } = "";

        /// <summary>
        /// 广告轮播间隔
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "SecondScreemTime")]
        public System.Int32 SecondScreemTime { get; set; } = 1;

        /// <summary>
        /// 营业员选择方式
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "employeeSelType")]
        public System.Int32 employeeSelType { get; set; } = 1;

        /// <summary>
        /// 客户显示商品图片
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "showFoodImgCust")]
        public System.Boolean showFoodImgCust { get; set; } = true;

        /// <summary>
        /// 小票打印方式
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "prinMethod")]
        public System.Int32 prinMethod { get; set; } = 0;

        /// <summary>
        /// 收银员商品分类显示方式
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "foodTypeBindType")]
        public System.Int32 foodTypeBindType { get; set; } = 0;
    }
}
